let countDownFlag = false;

// 模拟数据，可以删除
let mock = [{
        user: "xhc",
        time: new Date("2021-2-24 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-21 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-23 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-20 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-20 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-19 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-22 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-21 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-20 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-22 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-22 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-21 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-25 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-25 22:12:34"),
        id: 1,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-22 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-25 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-23 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-24 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-19 22:12:34"),
        id: 3,
        control: 1,
        res: "success",
    },
    {
        user: "xhc",
        time: new Date("2021-2-22 22:12:34"),
        id: 2,
        control: 1,
        res: "success",
    },
];

let loggerMock = [{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},{
    id:parseInt(Math.random()*100),
    username:'lyc',
    time: new Date(),
    lockid: parseInt(Math.random()*100),
    openstate: true,
    success: true,
    operation: '进行关锁操作'
},
    
]

export default {
    countDownFlag,
    mock,
    loggerMock
}